#!/bin/sh

rm -rvf DlCordova

git clone https://git.oschina.net/_x_/DlCordova.git

cp -rvf ../docs/* DlCordova/www/

cd DlCordova

cordova plugin add https://git.oschina.net/_x_/cordova-plugin-http
cordova plugin add https://git.oschina.net/_x_/cordova-plugin-unionpay

cd ..

open DlCordova/platforms/ios/DlCordova.xcodeproj/
